package com.ruoyi.procurement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出库单位对象 ps_unit
 * 
 * @author ruoyi
 * @date 2023-10-10
 */
public class PsUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String puName;

    /** 单位描述 */
    @Excel(name = "单位描述")
    private String puDesc;

    /** 删除标志 0存在 2删除 */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPuName(String puName) 
    {
        this.puName = puName;
    }

    public String getPuName() 
    {
        return puName;
    }
    public void setPuDesc(String puDesc) 
    {
        this.puDesc = puDesc;
    }

    public String getPuDesc() 
    {
        return puDesc;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("puName", getPuName())
            .append("puDesc", getPuDesc())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
